export let columns = [
  {
    title: '物品编号',
    align: 'left',
    dataIndex: 'goodsCode',
    ellipsis: true,
    fixed: 'left',
    //sorter: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'goodsCode',
    },
  },
  {
    title: '物品名称',
    align: 'left',
    fixed: 'left',
    dataIndex: 'goodsName',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'goodsName',
    },
  },
  {
    title: '规格',
    align: 'left',
    dataIndex: 'spec',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'spec',
    },
  },
  {
    title: '分类',
    align: 'left',
    dataIndex: 'category',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'selectDropdown',
      filterIcon: 'selectIcon',
      customRender: 'category',
    },
  },
  {
    title: '类型',
    align: 'left',
    dataIndex: 'type',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'selectDropdown',
      filterIcon: 'selectIcon',
      customRender: 'type',
    },
  },
  {
    title: '合格品',
    dataIndex: 'goodsQualifiedNum',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'goodsQualifiedNumText' },
  },
  {
    title: '不含税金额（元）',
    dataIndex: 'inventoryAmountTxt',
    ellipsis: true,
    width: 160,
    scopedSlots: { customRender: 'inventoryAmountTxt' },
  },
  {
    title: '报废品',
    dataIndex: 'goodsScrapNum',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'goodsScrapNumText' },
  },
  {
    title: '安全库存',
    dataIndex: 'securityNumTxt',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'securityNumTxt' },
  },
  {
    title: '最大库存',
    dataIndex: 'maxNumTxt',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'maxNumTxt' },
  },
  {
    title: '合格品(F)',
    dataIndex: 'goodsQualifiedNumTextAssistUnit',
    ellipsis: true,
    width: 120,
  },
  {
    title: '报废品(F)',
    dataIndex: 'goodsScrapNumTextAssistUnit',
    ellipsis: true,
    width: 120,
  },
  {
    title: '安全库存(F)',
    dataIndex: 'securityNumTxtAssistUnit',
    ellipsis: true,
    width: 120,
  },
  {
    title: '最大库存(F)',
    dataIndex: 'maxNumTxtAssistUnit',
    ellipsis: true,
    width: 120,
  },
  // {
  //   fixed: 'right',
  //   title: '操作',
  //   align: 'left',
  //   dataIndex: 'actions',
  //   ellipsis: true,
  //   width: 150,
  //   scopedSlots: { customRender: 'actions' },
  // },
]
export let allColumn = [
  {
    title: '物品编号',
    align: 'left',
    dataIndex: 'goodsCode',
    ellipsis: true,
    fixed: 'left',
    //sorter: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'goodsCode',
    },
  },
  {
    title: '物品名称',
    align: 'left',
    fixed: 'left',
    dataIndex: 'goodsName',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'goodsName',
    },
  },
  {
    title: '规格',
    align: 'left',
    dataIndex: 'spec',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'searchDropdown',
      filterIcon: 'searchIcon',
      customRender: 'spec',
    },
  },
  {
    title: '分类',
    align: 'left',
    dataIndex: 'category',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'selectDropdown',
      filterIcon: 'selectIcon',
      customRender: 'category',
    },
  },
  {
    title: '类型',
    align: 'left',
    dataIndex: 'type',
    ellipsis: true,
    width: 150,
    scopedSlots: {
      filterDropdown: 'selectDropdown',
      filterIcon: 'selectIcon',
      customRender: 'type',
    },
  },
  {
    title: '合格品',
    dataIndex: 'goodsQualifiedNum',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'goodsQualifiedNumText' },
    //sorter: true,
  },
  {
    title: '不含税金额（元）',
    dataIndex: 'inventoryAmountTxt',
    ellipsis: true,
    width: 160,
    scopedSlots: { customRender: 'inventoryAmountTxt' },
  },
  {
    title: '报废品',
    dataIndex: 'goodsScrapNum',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'goodsScrapNumText' },
  },
  {
    title: '安全库存',
    dataIndex: 'securityNumTxt',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'securityNumTxt' },
  },
  {
    title: '最大库存',
    dataIndex: 'maxNumTxt',
    ellipsis: true,
    width: 120,
    scopedSlots: { customRender: 'maxNumTxt' },
  },
  {
    title: '合格品(F)',
    dataIndex: 'goodsQualifiedNumTextAssistUnit',
    ellipsis: true,
    width: 120,
  },
  {
    title: '报废品(F)',
    dataIndex: 'goodsScrapNumTextAssistUnit',
    ellipsis: true,
    width: 120,
  },
  {
    title: '安全库存(F)',
    dataIndex: 'securityNumTxtAssistUnit',
    ellipsis: true,
    width: 120,
  },
  {
    title: '最大库存(F)',
    dataIndex: 'maxNumTxtAssistUnit',
    ellipsis: true,
    width: 120,
  },
]
